﻿using SlamDunk.CMS.Model.DataModel;

namespace SlamDunk.CMS.Model.ViewModel
{
    /// <summary>
    /// Article视图模型类（展示信息用）
    /// </summary>
    public class ArticleViewForRead
    {
        #region 01.属性——Id
        /// <summary>
        /// 属性——Id
        /// </summary>
        public int Id { get; set; }
        #endregion

        #region 02.外键属性——Channel
        /// <summary>
        /// 外键属性——Channel
        /// </summary>
        public Channel Channel { get; set; }
        #endregion

        #region 02.属性——Title
        /// <summary>
        /// 属性——Title
        /// </summary>
        public string Title { get; set; }
        #endregion

        #region 03.属性——Intitle
        /// <summary>
        /// 属性——Intitle
        /// </summary>
        public string Intitle { get; set; }
        #endregion

        #region 04.属性——SubTitle
        /// <summary>
        /// 属性——SubTitle
        /// </summary>
        public string SubTitle { get; set; }
        #endregion

        #region 05.属性——Author
        /// <summary>
        /// 属性——Author
        /// </summary>
        public string Author { get; set; }
        #endregion

        #region 06.属性——Source
        /// <summary>
        /// 属性——Source
        /// </summary>
        public string Source { get; set; }
        #endregion

        #region 05.属性——Publish
        /// <summary>
        /// 属性——Publish
        /// </summary>
        public string Publish { get; set; }
        #endregion

        #region 06.属性——Content
        /// <summary>
        /// 属性——Content
        /// </summary>
        public string Content { get; set; }
        #endregion

        #region 07.属性——Sort
        /// <summary>
        /// 属性——Sort
        /// </summary>
        public int? Sort { get; set; }
        #endregion

        #region 08.属性——IsTop
        /// <summary>
        /// 属性——IsTop
        /// </summary>
        public string IsTop { get; set; }
        #endregion

        #region 09.属性——Click
        /// <summary>
        /// 属性——Click
        /// </summary>
        public int? Click { get; set; }
        #endregion

        #region 10.属性——ImagePath
        /// <summary>
        /// 属性——ImagePath
        /// </summary>
        public string ImagePath { get; set; }
        #endregion

        #region 11.属性——ThumbPath
        /// <summary>
        /// 属性——ThumbPath
        /// </summary>
        public string ThumbPath { get; set; }
        #endregion

        #region 12.属性——Attachment
        /// <summary>
        /// 属性——Attachment
        /// </summary>
        public string Attachment { get; set; }
        #endregion

        #region 13.属性——发布时间
        /// <summary>
        /// 发布时间
        /// </summary>
        public string AddTime { get; set; }
        #endregion

        #region 14.属性——链接地址
        /// <summary>
        /// 链接地址
        /// </summary>
        public string Url { get; set; }
        #endregion
    }
}
